interface IBaseCpnsConfig {
  title: string
  list: List[]
}

interface List {
  type: string
  label: string
  icon: string
  prop: string
}

const baseCpnsConfig: IBaseCpnsConfig = {
  title: '基础组件',
  list: [
    {
      type: 'input',
      label: '输入框',
      icon: 'Search',
      prop: 'input'
    },
    {
      type: 'button',
      label: '按钮',
      icon: 'Search',
      prop: 'button'
    },
    {
      type: 'select',
      label: '下拉选择框',
      icon: 'Search',
      prop: 'select'
    },
    {
      type: 'radio',
      label: '单选框',
      icon: 'Search',
      prop: 'radio'
    },
    {
      type: 'checkbox',
      label: '多选框',
      icon: 'Search',
      prop: 'checkbox'
    },
    {
      type: 'switch',
      label: '开关',
      icon: 'Search',
      prop: 'switch'
    },
    {
      type: 'slider',
      label: '滑块',
      icon: 'Search',
      prop: 'slider'
    },
    {
      type: 'time-picker',
      label: '时间选择器',
      icon: 'Search',
      prop: 'time-picker'
    },
    {
      type: 'date-picker',
      label: '日期选择器',
      icon: 'Search',
      prop: 'date-picker'
    },
    {
      type: 'upload',
      label: '上传',
      icon: 'Search',
      prop: 'upload'
    }
  ]
}

export default baseCpnsConfig
